/**
 * Filename: YNTimeCompass.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/5/20 16:02
 */
package com.github.postsanf.yinian.bean;

import java.util.List;

/**
 * 忆年时光罗盘内容类
 */
public class YNTimeCompass extends BaseBean
{
    private int     groupid;										// ID
    private String  gtype;                                          // 相册类别
    private String  gname;                                          // 相册名
    private List<YNCompassDate> date;								// 罗盘日期内容

    public int getGroupid() {
        return groupid;
    }

    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }

    public String getGtype() {
        return gtype;
    }

    public void setGtype(String gtype) {
        this.gtype = gtype;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public List<YNCompassDate> getDate() {
        return date;
    }

    public void setDate(List<YNCompassDate> date) {
        this.date = date;
    }


    @Override
    public boolean equals(Object o) {
        if (o instanceof YNTimeCompass) {
            return this.groupid == ((YNTimeCompass) o).groupid;
        }
        return super.equals(o);
    }
}
